package com.yqg.education.service.impl;

import com.yqg.education.controller.dto.TrainClassDTO;
import com.yqg.education.entity.TrainClass;
import com.yqg.education.mapper.TrainClassMapper;
import com.yqg.education.service.ITrainClassService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * TrainClassServiceImpl 服务实现类
 * @author 张芸博
 * @since 2025-04-10
 */
@Service
public class TrainClassServiceImpl extends ServiceImpl<TrainClassMapper, TrainClass> implements ITrainClassService {
@Resource
TrainClassMapper trainClassMapper;
    @Override
    public List<TrainClass> LikeSelect(Integer pageNum, Integer pageSize, String trainClassNum) {
        return trainClassMapper.LikeSelect(pageNum,pageSize,trainClassNum);
    }

}
